// 系统设置模块
export namespace Sys {
  export interface ResSysList {
    id: number;
    key: string;
    name: string;
    value: number;
    rule: object;
    desc: string;
    enable: boolean;
    editable: boolean;
    closable: boolean;
    category: object;
  }
}

export namespace Route {
  export interface ResRouteList {
    id?: number;
    name: string;
    color: string;
    support?: boolean;
    display: boolean;
    station: ResStationList[];
    loop: boolean;
    line_no?: number | null;
    first?: ResStationList;
    last?: ResStationList;
  }
  export interface ResStationList {
    route_id?: number;
    id?: number;
    name: string;
    index: number;
    station_no?: string;
    alias?: string;
  }
}
